<%-- 
    Document   : LibroConfirmar
    Created on : 18/01/2012, 11:41:48 PM
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>JSP Page</title>
        </head>
        <body>
            <h1><h:outputText value="Confirmar Libro"/></h1>
            <h:form>
                <h1><h:outputText value="View"/></h1>
                <h:panelGrid columns="2">
                     <h:outputLabel value="Titulo:" for="titulo" />
                    <h:inputText id="titulo" value="#{LibroBean.libro.titulo}" title="Titulo" required="true" requiredMessage="The Titulo field is required."/>
                    <h:outputLabel value="SubTitulo:" for="subTitulo" />
                    <h:inputText id="subTitulo" value="#{LibroBean.libro.subTitulo}" title="SubTitulo" />
                    <h:outputLabel value="Isbn:" for="isbn" />
                    <h:inputText id="isbn" value="#{LibroBean.libro.isbn}" title="Isbn" />
                    <h:outputLabel value="Ubicacion:" for="ubicacion" />
                    <h:inputText id="ubicacion" value="#{LibroBean.libro.ubicacion}" title="Ubicacion" required="true" requiredMessage="The Ubicacion field is required."/>
                    <h:outputLabel value="IdEditorial:" for="idEditorial" />
                    <h:selectOneMenu id="idEditorial" value="#{LibroBean.libro.idEditorial}" title="IdEditorial" required="true" requiredMessage="The IdEditorial field is required.">
                        <!-- TODO: update below reference to list of available items-->
                        <f:selectItems value="#{fixme}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="IdEstatus:" for="idEstatus" />
                    <h:selectOneMenu id="idEstatus" value="#{LibroBean.libro.idEstatus}" title="IdEstatus" required="true" requiredMessage="The IdEstatus field is required.">
                        <!-- TODO: update below reference to list of available items-->
                        <f:selectItems value="#{fixme}"/>
                    </h:selectOneMenu>
                </h:panelGrid>
                <h:commandButton action="#{LibroBean.procesarAccion}" value = "Aceptar" />
                <h:commandButton action="LibroConfirmar" value = "Cancelar" />

            </h:form>

        </body>
    </html>
</f:view>
